<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

</head>
<body >
<div align="center">
    <?php if(is_array($power)): $i = 0; $__LIST__ = $power;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if(($vo["user"]) == "1"): ?><a href="<?php echo U('Home/User/index');?>">用户管理</a><?php endif; ?>
        <?php if(($vo["password"]) == "1"): ?><a href="<?php echo U('Home/Index/password');?>">修改密码</a><?php endif; ?>
        <?php if(($vo["operate"]) == "1"): ?><a href="<?php echo U('Home/Operate/index');?>">操作日志</a><?php endif; ?>
        <?php if(($vo["admin"]) == "1"): ?><a href="<?php echo U('Home/Admin/manage');?>">管理员管理</a><?php endif; ?>
        <?php if(($vo["oil"]) == "1"): ?><a href="<?php echo U('Home/Oil/index');?>">油品类型管理</a><?php endif; ?>
        <?php if(($vo["list"]) == "1"): ?><a href="<?php echo U('Home/List/index');?>" >车辆队列管理</a><?php endif; ?>
        <?php if(($vo["power"]) == "1"): ?><a href="<?php echo U('Home/Power/index');?>">权限管理</a><?php endif; ?>
        <?php if(($vo["announce"]) == "1"): ?><a href="<?php echo U('Home/Announce/index');?>">公告内容管理</a><?php endif; endforeach; endif; else: echo "" ;endif; ?>

</div>
<div align="center">
    <h2 >后台中心</h2>
    <a href="<?php echo U('Home/index/index');?>">退出</a>
    <a href="<?php echo U('Home/admin/index');?>">首页</a>
</div>
<hr />
</body>
</html>


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div align="center">
    <form action="<?php echo U('user/update',array('id'=>$attr['id']));?>" method="post">
        <div>微信头像：<input type="text" name="head_img" value="<?php echo ($attr["head_img"]); ?>"/></div>
        <div>微信昵称：<input type="text" name="nickname" value="<?php echo ($attr["nickname"]); ?>"/></div>
        <div>真实姓名：<input type="text" name="name" value="<?php echo ($attr["name"]); ?>"/></div>
        <div>手机号码：<input type="text" name="phone" value="<?php echo ($attr["phone"]); ?>"/></div>
        <div>车辆车牌：<input type="text" name="plate_number" value="<?php echo ($attr["plate_number"]); ?>"/></div>
        <div>隶属公司：<input type="text" name="company" value="<?php echo ($attr["company"]); ?>"/></div>
        <input type="submit" value="修改"/>
    </form>
</div>
<div align="center">
    <button id="button">返回</button>
</div>
<script src="/hongdi/db_carorder_system/tp/Public/jquery-3.3.1/jquery-3.3.1.js"></script>
<script src="/hongdi/db_carorder_system/tp/Public/js/dialog.js"></script>
<script src="/hongdi/db_carorder_system/tp/Public/dialog/layer.js"></script>
<script src="/hongdi/db_carorder_system/tp/Public/js/user.js"> </script>
</body>
</html>